package com.gzist.zzchatroomserver.service.impl;

import com.gzist.zzchatroomserver.entity.po.GroupMember;
import com.gzist.zzchatroomserver.mapper.GroupMemberMapper;
import com.gzist.zzchatroomserver.service.GroupMemberService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hzj
 * @since 2025-01-07
 */
@Service
@RequiredArgsConstructor
public class GroupMemberServiceImpl extends ServiceImpl<GroupMemberMapper, GroupMember> implements GroupMemberService {

    private final GroupMemberMapper groupMemberMapper;

    @Override
    public List<String> getGroupMemberIds(String groupId) {
        return groupMemberMapper.getGroupMemberIds(groupId);
    }
}
